<?xml version='1.0' encoding='UTF-8' ?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<ui:composition xmlns="http://www.w3.org/1999/xhtml"
	xmlns:h="http://java.sun.com/jsf/html"
	xmlns:f="http://java.sun.com/jsf/core"
	xmlns:ui="http://java.sun.com/jsf/facelets"
	xmlns:forgeview="http://jboss.org/forge/view"
	template="/resources/scaffold/pageTemplate.xhtml">

	<f:metadata>
		<f:viewParam name="id" value="#{sysAddr03Bean.id}"/>
		<f:event type="preRenderView" listener="#{sysAddr03Bean.retrieve}"/>
	</f:metadata>

	<ui:param name="pageTitle" value="View Sys Addr 03"/>

	<ui:define name="header">
		Sys Addr 03
	</ui:define>

	<ui:define name="subheader">
		View existing Sys Addr 03
	</ui:define>

	<ui:define name="footer"/>

	<ui:define name="main">
		<h:panelGrid columnClasses="label,component,required" columns="3">
			<h:outputLabel for="sysAddr03BeanSysAddr03Addr03No" value="Addr 03No:"/>
			<h:outputText id="sysAddr03BeanSysAddr03Addr03No" value="#{sysAddr03Bean.sysAddr03.addr03No}"/>
			<h:outputText/>
			<h:outputLabel for="sysAddr03BeanSysAddr03SysAddr04" value="Sys Addr 04:"/>
			<h:link id="sysAddr03BeanSysAddr03SysAddr04" outcome="/sysAddr04/view" value="#{sysAddr03Bean.sysAddr03.sysAddr04}">
				<f:param name="id" value="#{sysAddr03Bean.sysAddr03.sysAddr04.addr04No}"/>
			</h:link>
			<h:outputText/>
			<h:outputLabel for="sysAddr03BeanSysAddr03Addr03Code" value="Addr 03Code:"/>
			<h:outputText id="sysAddr03BeanSysAddr03Addr03Code" value="#{sysAddr03Bean.sysAddr03.addr03Code}"/>
			<h:outputText/>
			<h:outputLabel for="sysAddr03BeanSysAddr03Addr03Name" value="Addr 03Name:"/>
			<h:outputText id="sysAddr03BeanSysAddr03Addr03Name" value="#{sysAddr03Bean.sysAddr03.addr03Name}"/>
			<h:outputText/>
			<h:outputLabel for="sysAddr03BeanSysAddr03SysAddr02s" value="Sys Addr 02s:"/>
			<h:dataTable id="sysAddr03BeanSysAddr03SysAddr02s" styleClass="data-table" value="#{forgeview:asList(sysAddr03Bean.sysAddr03.sysAddr02s)}" var="_item">
				<h:column>
					<f:facet name="header">
						<h:outputText value="Addr 02No"/>
					</f:facet>
					<h:link outcome="/sysAddr02/view">
						<f:param name="id" value="#{_item.addr02No}"/>
						<h:outputText id="itemAddr02No" value="#{_item.addr02No}"/>
					</h:link>
				</h:column>
			</h:dataTable>
			<h:outputText/>
		</h:panelGrid>

		<div class="buttons">
			<h:link value="View All" outcome="search" styleClass="btn btn-primary"/> 
			<h:link value="Edit" outcome="create" includeViewParams="true" styleClass="btn btn-primary"/>
			<h:link value="Create New" outcome="create" styleClass="btn btn-primary"/>
		</div>
	</ui:define>

</ui:composition>